
/**
 * 获取快手 礼物列表
 * https://livev.m.chenzhongtech.com/rest/wd/live/gift/all
 */

import axios from "axios"
import { toSuccess } from "@sker/core"

export default async () => {
    const url = `https://livev.m.chenzhongtech.com/rest/wd/live/gift/all`
    const res = await axios.get(url).then(res => res.data)
    return toSuccess(res)
}